package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entitys.Rider;

public interface RiderService {
    int deleteByPrimaryKey(Integer riderId);

    Rider selectAllByloginName(String loginname);

    Rider selectRiderByLoginName(String loginname);

    int insert(Rider record);

    int insertSelective(Rider record);

    Rider selectByPrimaryKey(Integer riderId);

    int updateByPrimaryKeySelective(Rider record);

    int updateByPrimaryKey(Rider record);

    PageInfo<Rider> selectAll(Integer pageindex, Rider record);

    PageInfo<Rider> selectNo(Integer pageindex, Rider record);

    PageInfo<Rider> selectBack(Integer pageindex, Rider record);

    int updateRiderstatus(Integer id,Integer status);

    int delRiderstatus(Integer id);
}
